package com.example.tests;

import org.testng.annotations.Test;

public class GroupEditTests extends BaseClass {

	@Test
	
	public void editSelectedGroups() {
		
		app.getNavigationWorker().openMainPage();
		app.getNavigationWorker().gotoGroupsPage();
		app.getActionWorker().flag(1);
		app.getActionWorker().initEdit();
		GroupObject groupInfo = new GroupObject();
		groupInfo.groupName = "new name";
		app.getGroupWorker().fillupGroupForm(groupInfo );
		app.getActionWorker().update();
		app.getNavigationWorker().returntoGroupsPage();
		
	}

}
